<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="layui/dist/css/layui.css"  media="all">
<script src="layui/dist/layui.js" charset="utf-8"></script>
</head>
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
  <legend>总页数大于页码总数</legend>
</fieldset>
<div id="demo1"></div>
<script>
layui.use(['laypage', 'layer'], function(){
	  var laypage = layui.laypage
	  ,layer = layui.layer; 
	laypage.render({
		    elem: 'demo1'
		    ,count: 70 //数据总数
		    ,jump: function(obj){
		      console.log(obj)
		    }
		  });
});
</script>
</body>
</html>